package UI;

import java.awt.*;

/**
 *  This is a menu with GetLastVersion, PutFile, GetFile, GetFileList menuItems.
 *  @author Anna
 */
public class FileMenu extends Menu {
    MenuItem getMI, putMI, getLastVersionMI, getFilesMI;
    public FileMenu(){
        super("File");
        getMI= new GetFileMenuItem();
        putMI= new PutFileMenuItem();
        getLastVersionMI = new GetLastVersionMenuItem();
        getFilesMI = new GetFileListMenuItem();
        add(getMI);
        add(putMI);
        add(getLastVersionMI);
        add(getFilesMI);
        addSeparator();
    }
}
